var loc = location.href;

var strs = loc.split("?")

var newPrice = strs[1].substring(12)

console.log(newPrice)

var newPriceEle = document.querySelector(".detail-right")

var sunPriceEle = document.querySelector(".title-right")

newPriceEle.innerHTML = newPrice

var sumPrice = parseFloat(newPrice) + parseFloat(20 + 200 - 38)

sunPriceEle.innerHTML = sumPrice



